package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

/**
 * 
 *
 * @author code-generate
 * @date 2021-09-17
 */
@Data
@DbTable(tableName = "t_persion_flow_record")
public class PersionFlowRecord extends BaseEntity {
        /**
     * 设备Id
     */
    @DbTableField(columnName = "c_device_id", dbType = DbTypeEnum.INTEGER)
    public Integer deviceId ;

    /**
     * 设备号
     */
    @DbTableField(columnName = "c_device_code", dbType = DbTypeEnum.VARCHAR)
    public String deviceCode ;

    /**
     * 上报时间
     */
    @DbTableField(columnName = "c_report_date", dbType = DbTypeEnum.VARCHAR)
    public String reportDate ;

    /**
     * 记录时间
     */
    @DbTableField(columnName = "c_record_time", dbType = DbTypeEnum.BIGINT)
    public Long recordTime ;

    /**
     * 人流总数
     */
    @DbTableField(columnName = "c_flow_num", dbType = DbTypeEnum.INTEGER)
    public Integer flowNum ;


}
